package com.zc.timedown.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * ClassName:TimeRecordVo
 * Description:
 * DateTime: 2025/10/21 15:05
 * Author: zc
 * Version: 1.0
 */
@Data
@ApiModel(description = "时间账本VO")
public class TimeRecordVo {
    @ApiModelProperty(value = "记录ID")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "活动名称", example = "写代码")
    private String activityName;

    @ApiModelProperty(value = "持续时间(小时)", example = "3.5")
    private BigDecimal durationHours;

    @ApiModelProperty(value = "记录日期", example = "2025-10-21")
    private LocalDate recordDate;

    @ApiModelProperty(value = "描述")
    private String description;
}
